package com.yykj.hospital.server.dto.train;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yykj.common.util.serializer.LocalDate2LongSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Map;

@Data
public class FormTrainLogListDTO {

    private Integer id;

    @ApiModelProperty("医院ID")
    private Integer hospitalId;

    @ApiModelProperty("直通车ID")
    private Integer trainId;

    @ApiModelProperty("直通车名称")
    private String trainName;

    @ApiModelProperty("患者ID")
    private String patientId;

    @ApiModelProperty("患者名称")
    private String patientName;

    @ApiModelProperty("创建时间")
    @JsonSerialize(using = LocalDate2LongSerializer.class)
    private LocalDateTime addTime;
    @ApiModelProperty("处理状态")
    private Boolean status = Boolean.FALSE;

    @ApiModelProperty("处理时间")
    @JsonSerialize(using = LocalDate2LongSerializer.class)
    private LocalDateTime finishTime;

    @ApiModelProperty("备注")
    private String remark;

    private Map<String,String> userValue;

}
